package org.csmzxy.class2333;

interface Playable {
    void play();
}
class Recordable{
    void record(){
        System.out.println("具有录制功能");
    }
}
class AudioPlayer extends Recordable implements Playable {
    @Override
    public void play() {
        System.out.println("音频播放器具有播放音乐的功能");
    }

    @Override
    public void record() {
        System.out.println("音频播放器具有录制音乐的功能");
    }
}


